package com.jjyu.service.impl;



import com.jjyu.service.CouponService;
import org.springframework.stereotype.Service;

@Service
public class CouponServiceImpl implements CouponService {

    @Override
    public int deleteExpiredCoupons(String userId) {
        // 模拟删除已过期优惠券的逻辑，返回删除的数量
        return 3; // 假设删除了3张过期的优惠券
    }
}